package com.wgo.precise.wiring;

import com.wgo.bpot.wiring.WiringEngine;
import com.wgo.precise.server.wiring.PreciseServiceAccessor;

/**
 * @version $Id: PreciseWiringImpl.java 540 2008-01-09 19:42:31Z petter.eide $
 */
public class PreciseWiringImpl implements WiringEngine<PreciseServiceAccessor> {

	private PreciseServiceAccessor preciseServiceAccessor = null;

	public PreciseServiceAccessor getServiceAccessor() {
		synchronized (this) {
			if (null == preciseServiceAccessor){
				preciseServiceAccessor = PreciseServiceAccessor.Factory.createPreciseServiceAccessor();
			}
		}
		return preciseServiceAccessor;
	}
	
}
